package com.yeraphael.service.impl;


import com.yeraphael.entity.EmpLog;
import com.yeraphael.mapper.EmpLogMapper;
import com.yeraphael.service.EmpLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class EmpLogServiceImpl implements EmpLogService {

    @Autowired
    private EmpLogMapper empLogMapper;

//    @Transactional(propagation = Propagation.REQUIRED)
    @Override
    public void insertEmpLog(EmpLog empLog) {
        empLogMapper.insert(empLog);
    }
}
